package com.zu.commu.auto1_0;

import com.zu.commu.interf.DataType;

public class DataType1_0 extends DataType
{
  private int type;
  public static final int DATATYPESITE = 11;
  public static DataType1_0 REPORTDATA = new DataType1_0(205);
  public static DataType1_0 SETCLOCK = new DataType1_0(206);
  public static DataType1_0 READCLOCK = new DataType1_0(207);
  public static DataType1_0 PUMP = new DataType1_0(166);
  public static DataType1_0 INITVALUE = new DataType1_0(250);
  public static DataType1_0 CHARGE = new DataType1_0(180);
  public static DataType1_0 CHARGETIMES = new DataType1_0(190);
  public static DataType1_0 READCHARGE = new DataType1_0(188);
  public static DataType1_0 REPORT24DATA = new DataType1_0(198);
  public static DataType1_0 REPORT20DATEDATA = new DataType1_0(199);
  public static DataType1_0 CLEANALL = new DataType1_0(200);
  public static DataType1_0 WATERWARNING = new DataType1_0(201);
  public static DataType1_0 WATERSITEWARNING = new DataType1_0(202);
  public static DataType1_0 WATERLEVEL = new DataType1_0(203);
  public static DataType1_0 REPORTTIME = new DataType1_0(9);

  public static DataType1_0 COMMON = new DataType1_0(9999);

  public DataType1_0(int type)
  {
    this.type = type;
  }

  public boolean equals(DataType1_0 dataType)
  {
    return this.type == dataType.type;
  }

  public int toInt()
  {
    return this.type;
  }
}
